﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SelectBankUS.aspx.cs" Inherits="Auditors_SelectBankUS" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script>
        //window.parent.location.href = "http://www.baidu.com";
        function GoTo(id, orderid, type) {
            window.parent.location.href = "EnterBank2.aspx?CompanyID=" + id + "&orderid=" + orderid + "&type=" + type;
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <h2>
            美金账户</h2>
        <input type="button" value="新增美金账户对账单" onclick='GoTo("<% =Request.QueryString["CompanyID"]%>","<% =Request.QueryString["orderid"]%>","US");' />
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="id"
            OnRowDeleting="GridView1_RowDeleting" OnRowDataBound="GridView1_RowDataBound">
            <Columns>
                <asp:BoundField DataField="Date" HeaderText="日期" SortExpression="Date" DataFormatString="{0:yyyy年MM月dd日}" />
                <asp:BoundField DataField="VoucherNo" HeaderText="凭证" SortExpression="VoucherNo" />
                <asp:BoundField DataField="Amount" HeaderText="金额" SortExpression="Amount" />
                <asp:BoundField DataField="HKMoney" HeaderText="港币" SortExpression="HKMoney" />
                <asp:BoundField DataField="Explain" HeaderText="备注" SortExpression="Explain" />
                <asp:CommandField ShowDeleteButton="True" />
            </Columns>
        </asp:GridView>
          <div> 当前結餘：<asp:Label ID="Label1" runat="server" Text="Label"></asp:Label></div>
        <input type="button" value="新增美金账户对账单" onclick='GoTo("<% =Request.QueryString["CompanyID"]%>","<% =Request.QueryString["orderid"]%>","US");' />
    </div>
    </form>
</body>
</html>
